home *** CD-ROM | disk | FTP | other *** search
Unknown | 2005-10-18 | 10.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a 46 e6 54 43 | 63 00 00 00 00 00 00 00 |m...F.TC|c.......|
|00000010| 00 0e 00 00 00 40 00 00 | 00 73 30 01 00 00 64 00 |.....@..|.s0...d.|
|00000020| 00 5a 00 00 64 01 00 6b | 01 00 5a 01 00 64 01 00 |.Z..d..k|..Z..d..|
|00000030| 6b 02 00 5a 02 00 64 01 | 00 6b 03 00 5a 03 00 64 |k..Z..d.|.k..Z..d|
|00000040| 02 00 64 03 00 64 04 00 | 64 05 00 64 06 00 64 07 |..d..d..|d..d..d.|
|00000050| 00 64 08 00 64 09 00 64 | 0a 00 64 0b 00 64 0c 00 |.d..d..d|..d..d..|
|00000060| 64 0d 00 64 0e 00 64 0f | 00 67 0e 00 5a 04 00 64 |d..d..d.|.g..Z..d|
|00000070| 10 00 64 11 00 64 12 00 | 84 02 00 5a 05 00 64 01 |..d..d..|...Z..d.|
|00000080| 00 64 13 00 84 01 00 5a | 07 00 64 14 00 84 00 00 |.d.....Z|..d.....|
|00000090| 5a 08 00 64 01 00 64 01 | 00 64 15 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000a0| 09 00 64 01 00 64 16 00 | 84 01 00 5a 0a 00 64 01 |..d..d..|...Z..d.|
|000000b0| 00 64 17 00 84 01 00 5a | 0b 00 64 01 00 64 01 00 |.d.....Z|..d..d..|
|000000c0| 64 18 00 84 02 00 5a 0c | 00 64 01 00 64 19 00 84 |d.....Z.|.d..d...|
|000000d0| 01 00 5a 0d 00 64 1a 00 | 84 00 00 5a 0e 00 64 1b |..Z..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0f 00 64 | 01 00 64 01 00 64 1c 00 |....Z..d|..d..d..|
|000000f0| 84 02 00 5a 10 00 64 01 | 00 64 1d 00 84 01 00 5a |...Z..d.|.d.....Z|
|00000100| 11 00 64 01 00 64 01 00 | 64 1e 00 84 02 00 5a 12 |..d..d..|d.....Z.|
|00000110| 00 64 01 00 64 01 00 64 | 01 00 64 1f 00 84 03 00 |.d..d..d|..d.....|
|00000120| 5a 13 00 64 01 00 64 01 | 00 64 20 00 84 02 00 5a |Z..d..d.|.d ....Z|
|00000130| 14 00 64 01 00 64 01 00 | 64 21 00 84 02 00 5a 15 |..d..d..|d!....Z.|
|00000140| 00 64 22 00 84 00 00 5a | 16 00 64 01 00 53 28 23 |.d"....Z|..d..S(#|
|00000150| 00 00 00 73 40 00 00 00 | 45 78 74 72 61 63 74 2c |...s@...|Extract,|
|00000160| 20 66 6f 72 6d 61 74 20 | 61 6e 64 20 70 72 69 6e | format |and prin|
|00000170| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |t inform|ation ab|
|00000180| 6f 75 74 20 50 79 74 68 | 6f 6e 20 73 74 61 63 6b |out Pyth|on stack|
|00000190| 20 74 72 61 63 65 73 2e | 4e 74 0d 00 00 00 65 78 | traces.|Nt....ex|
|000001a0| 74 72 61 63 74 5f 73 74 | 61 63 6b 74 0a 00 00 00 |tract_st|ackt....|
|000001b0| 65 78 74 72 61 63 74 5f | 74 62 74 10 00 00 00 66 |extract_|tbt....f|
|000001c0| 6f 72 6d 61 74 5f 65 78 | 63 65 70 74 69 6f 6e 74 |ormat_ex|ceptiont|
|000001d0| 15 00 00 00 66 6f 72 6d | 61 74 5f 65 78 63 65 70 |....form|at_excep|
|000001e0| 74 69 6f 6e 5f 6f 6e 6c | 79 74 0b 00 00 00 66 6f |tion_onl|yt....fo|
|000001f0| 72 6d 61 74 5f 6c 69 73 | 74 74 0c 00 00 00 66 6f |rmat_lis|tt....fo|
|00000200| 72 6d 61 74 5f 73 74 61 | 63 6b 74 09 00 00 00 66 |rmat_sta|ckt....f|
|00000210| 6f 72 6d 61 74 5f 74 62 | 74 09 00 00 00 70 72 69 |ormat_tb|t....pri|
|00000220| 6e 74 5f 65 78 63 74 0a | 00 00 00 66 6f 72 6d 61 |nt_exct.|...forma|
|00000230| 74 5f 65 78 63 74 0f 00 | 00 00 70 72 69 6e 74 5f |t_exct..|..print_|
|00000240| 65 78 63 65 70 74 69 6f | 6e 74 0a 00 00 00 70 72 |exceptio|nt....pr|
|00000250| 69 6e 74 5f 6c 61 73 74 | 74 0b 00 00 00 70 72 69 |int_last|t....pri|
|00000260| 6e 74 5f 73 74 61 63 6b | 74 08 00 00 00 70 72 69 |nt_stack|t....pri|
|00000270| 6e 74 5f 74 62 74 09 00 | 00 00 74 62 5f 6c 69 6e |nt_tbt..|..tb_lin|
|00000280| 65 6e 6f 74 00 00 00 00 | 73 01 00 00 00 0a 63 03 |enot....|s.....c.|
|00000290| 00 00 00 03 00 00 00 03 | 00 00 00 43 00 00 00 73 |........|...C...s|
|000002a0| 15 00 00 00 7c 00 00 69 | 01 00 7c 01 00 7c 02 00 |....|..i|..|..|..|
|000002b0| 17 83 01 00 01 64 00 00 | 53 28 01 00 00 00 4e 28 |.....d..|S(....N(|
|000002c0| 04 00 00 00 74 04 00 00 | 00 66 69 6c 65 74 05 00 |....t...|.filet..|
|000002d0| 00 00 77 72 69 74 65 74 | 03 00 00 00 73 74 72 74 |..writet|....strt|
|000002e0| 0a 00 00 00 74 65 72 6d | 69 6e 61 74 6f 72 28 03 |....term|inator(.|
|000002f0| 00 00 00 52 0f 00 00 00 | 52 11 00 00 00 52 12 00 |...R....|R....R..|
|00000300| 00 00 28 00 00 00 00 28 | 00 00 00 00 74 1f 00 00 |..(....(|....t...|
|00000310| 00 2f 75 73 72 2f 6c 69 | 62 2f 70 79 74 68 6f 6e |./usr/li|b/python|
|00000320| 32 2e 34 2f 74 72 61 63 | 65 62 61 63 6b 2e 70 79 |2.4/trac|eback.py|
|00000330| 74 06 00 00 00 5f 70 72 | 69 6e 74 0c 00 00 00 73 |t...._pr|int....s|
|00000340| 02 00 00 00 00 01 63 02 | 00 00 00 06 00 00 00 07 |......c.|........|
|00000350| 00 00 00 43 00 00 00 73 | 77 00 00 00 7c 01 00 64 |...C...s|w...|..d|
|00000360| 03 00 6a 08 00 6f 0d 00 | 01 74 02 00 69 03 00 7d |..j..o..|.t..i..}|
|00000370| 01 00 6e 01 00 01 78 56 | 00 7c 00 00 44 5d 4e 00 |..n...xV|.|..D]N.|
|00000380| 5c 04 00 7d 03 00 7d 04 | 00 7d 02 00 7d 05 00 74 |\..}..}.|.}..}..t|
|00000390| 09 00 7c 01 00 64 01 00 | 7c 03 00 7c 04 00 7c 02 |..|..d..||..|..|.|
|000003a0| 00 66 03 00 16 83 02 00 | 01 7c 05 00 6f 1b 00 01 |.f......|.|..o...|
|000003b0| 74 09 00 7c 01 00 64 02 | 00 7c 05 00 69 0a 00 83 |t..|..d.|.|..i...|
|000003c0| 00 00 16 83 02 00 01 71 | 21 00 01 71 21 00 57 64 |.......q|!..q!.Wd|
|000003d0| 03 00 53 28 04 00 00 00 | 73 79 00 00 00 50 72 69 |..S(....|sy...Pri|
|000003e0| 6e 74 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 74 |nt the l|ist of t|
|000003f0| 75 70 6c 65 73 20 61 73 | 20 72 65 74 75 72 6e 65 |uples as| returne|
|00000400| 64 20 62 79 20 65 78 74 | 72 61 63 74 5f 74 62 28 |d by ext|ract_tb(|
|00000410| 29 20 6f 72 0a 20 20 20 | 20 65 78 74 72 61 63 74 |) or. | extract|
|00000420| 5f 73 74 61 63 6b 28 29 | 20 61 73 20 61 20 66 6f |_stack()| as a fo|
|00000430| 72 6d 61 74 74 65 64 20 | 73 74 61 63 6b 20 74 72 |rmatted |stack tr|
|00000440| 61 63 65 20 74 6f 20 74 | 68 65 20 67 69 76 65 6e |ace to t|he given|
|00000450| 20 66 69 6c 65 2e 73 1b | 00 00 00 20 20 46 69 6c | file.s.|... Fil|
|00000460| 65 20 22 25 73 22 2c 20 | 6c 69 6e 65 20 25 64 2c |e "%s", |line %d,|
|00000470| 20 69 6e 20 25 73 73 06 | 00 00 00 20 20 20 20 25 | in %ss.|... %|
|00000480| 73 4e 28 0b 00 00 00 52 | 0f 00 00 00 74 04 00 00 |sN(....R|....t...|
|00000490| 00 4e 6f 6e 65 74 03 00 | 00 00 73 79 73 74 06 00 |.Nonet..|..syst..|
|000004a0| 00 00 73 74 64 65 72 72 | 74 0e 00 00 00 65 78 74 |..stderr|t....ext|
|000004b0| 72 61 63 74 65 64 5f 6c | 69 73 74 74 08 00 00 00 |racted_l|istt....|
|000004c0| 66 69 6c 65 6e 61 6d 65 | 74 06 00 00 00 6c 69 6e |filename|t....lin|
|000004d0| 65 6e 6f 74 04 00 00 00 | 6e 61 6d 65 74 04 00 00 |enot....|namet...|
|000004e0| 00 6c 69 6e 65 52 14 00 | 00 00 74 05 00 00 00 73 |.lineR..|..t....s|
|000004f0| 74 72 69 70 28 06 00 00 | 00 52 18 00 00 00 52 0f |trip(...|.R....R.|
|00000500| 00 00 00 52 1b 00 00 00 | 52 19 00 00 00 52 1a 00 |...R....|R....R..|
|00000510| 00 00 52 1c 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R....(|....(...|
|00000520| 00 52 13 00 00 00 74 0a | 00 00 00 70 72 69 6e 74 |.R....t.|...print|
|00000530| 5f 6c 69 73 74 10 00 00 | 00 73 12 00 00 00 00 02 |_list...|.s......|
|00000540| 00 01 0d 01 0d 01 07 00 | 12 01 06 01 14 01 07 01 |........|........|
|00000550| 63 01 00 00 00 07 00 00 | 00 05 00 00 00 43 00 00 |c.......|.....C..|
|00000560| 00 73 66 00 00 00 67 00 | 00 7d 02 00 78 59 00 7c |.sf...g.|.}..xY.||
|00000570| 00 00 44 5d 51 00 5c 04 | 00 7d 03 00 7d 05 00 7d |..D]Q.\.|.}..}..}|
|00000580| 01 00 7d 06 00 64 01 00 | 7c 03 00 7c 05 00 7c 01 |..}..d..||..|..|.|
|00000590| 00 66 03 00 16 7d 04 00 | 7c 06 00 6f 18 00 01 7c |.f...}..||..o...||
|000005a0| 04 00 64 02 00 7c 06 00 | 69 07 00 83 00 00 16 17 |..d..|..|i.......|
|000005b0| 7d 04 00 6e 01 00 01 7c | 02 00 69 08 00 7c 04 00 |}..n...||..i..|..|
|000005c0| 83 01 00 01 71 0d 00 57 | 7c 02 00 53 28 04 00 00 |....q..W||..S(...|
|000005d0| 00 73 b2 01 00 00 46 6f | 72 6d 61 74 20 61 20 6c |.s....Fo|rmat a l|
|000005e0| 69 73 74 20 6f 66 20 74 | 72 61 63 65 62 61 63 6b |ist of t|raceback|
|000005f0| 20 65 6e 74 72 79 20 74 | 75 70 6c 65 73 20 66 6f | entry t|uples fo|
|00000600| 72 20 70 72 69 6e 74 69 | 6e 67 2e 0a 0a 20 20 20 |r printi|ng... |
|00000610| 20 47 69 76 65 6e 20 61 | 20 6c 69 73 74 20 6f 66 | Given a| list of|
|00000620| 20 74 75 70 6c 65 73 20 | 61 73 20 72 65 74 75 72 | tuples |as retur|
|00000630| 6e 65 64 20 62 79 20 65 | 78 74 72 61 63 74 5f 74 |ned by e|xtract_t|
|00000640| 62 28 29 20 6f 72 0a 20 | 20 20 20 65 78 74 72 61 |b() or. | extra|
|00000650| 63 74 5f 73 74 61 63 6b | 28 29 2c 20 72 65 74 75 |ct_stack|(), retu|
|00000660| 72 6e 20 61 20 6c 69 73 | 74 20 6f 66 20 73 74 72 |rn a lis|t of str|
|00000670| 69 6e 67 73 20 72 65 61 | 64 79 20 66 6f 72 20 70 |ings rea|dy for p|
|00000680| 72 69 6e 74 69 6e 67 2e | 0a 20 20 20 20 45 61 63 |rinting.|. Eac|
|00000690| 68 20 73 74 72 69 6e 67 | 20 69 6e 20 74 68 65 20 |h string| in the |
|000006a0| 72 65 73 75 6c 74 69 6e | 67 20 6c 69 73 74 20 63 |resultin|g list c|
|000006b0| 6f 72 72 65 73 70 6f 6e | 64 73 20 74 6f 20 74 68 |orrespon|ds to th|
|000006c0| 65 20 69 74 65 6d 20 77 | 69 74 68 20 74 68 65 0a |e item w|ith the.|
|000006d0| 20 20 20 20 73 61 6d 65 | 20 69 6e 64 65 78 20 69 | same| index i|
|000006e0| 6e 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 20 6c |n the ar|gument l|
|000006f0| 69 73 74 2e 20 20 45 61 | 63 68 20 73 74 72 69 6e |ist. Ea|ch strin|
|00000700| 67 20 65 6e 64 73 20 69 | 6e 20 61 20 6e 65 77 6c |g ends i|n a newl|
|00000710| 69 6e 65 3b 0a 20 20 20 | 20 74 68 65 20 73 74 72 |ine;. | the str|
|00000720| 69 6e 67 73 20 6d 61 79 | 20 63 6f 6e 74 61 69 6e |ings may| contain|
|00000730| 20 69 6e 74 65 72 6e 61 | 6c 20 6e 65 77 6c 69 6e | interna|l newlin|
|00000740| 65 73 20 61 73 20 77 65 | 6c 6c 2c 20 66 6f 72 20 |es as we|ll, for |
|00000750| 74 68 6f 73 65 20 69 74 | 65 6d 73 0a 20 20 20 20 |those it|ems. |
|00000760| 77 68 6f 73 65 20 73 6f | 75 72 63 65 20 74 65 78 |whose so|urce tex|
|00000770| 74 20 6c 69 6e 65 20 69 | 73 20 6e 6f 74 20 4e 6f |t line i|s not No|
|00000780| 6e 65 2e 0a 20 20 20 20 | 73 1c 00 00 00 20 20 46 |ne.. |s.... F|
|00000790| 69 6c 65 20 22 25 73 22 | 2c 20 6c 69 6e 65 20 25 |ile "%s"|, line %|
|000007a0| 64 2c 20 69 6e 20 25 73 | 0a 73 07 00 00 00 20 20 |d, in %s|.s.... |
|000007b0| 20 20 25 73 0a 4e 28 09 | 00 00 00 74 04 00 00 00 | %s.N(.|...t....|
|000007c0| 6c 69 73 74 52 18 00 00 | 00 52 19 00 00 00 52 1a |listR...|.R....R.|
|000007d0| 00 00 00 52 1b 00 00 00 | 52 1c 00 00 00 74 04 00 |...R....|R....t..|
|000007e0| 00 00 69 74 65 6d 52 1d | 00 00 00 74 06 00 00 00 |..itemR.|...t....|
|000007f0| 61 70 70 65 6e 64 28 07 | 00 00 00 52 18 00 00 00 |append(.|...R....|
|00000800| 52 1b 00 00 00 52 1f 00 | 00 00 52 19 00 00 00 52 |R....R..|..R....R|
|00000810| 20 00 00 00 52 1a 00 00 | 00 52 1c 00 00 00 28 00 | ...R...|.R....(.|
|00000820| 00 00 00 28 00 00 00 00 | 52 13 00 00 00 52 04 00 |...(....|R....R..|
|00000830| 00 00 1b 00 00 00 73 12 | 00 00 00 00 09 00 01 06 |......s.|........|
|00000840| 01 07 00 12 01 13 01 07 | 01 18 01 11 01 63 03 00 |........|.....c..|
|00000850| 00 00 0a 00 00 00 06 00 | 00 00 43 00 00 00 73 1c |........|..C...s.|
|00000860| 01 00 00 7c 02 00 64 06 | 00 6a 08 00 6f 0d 00 01 |...|..d.|.j..o...|
|00000870| 74 02 00 69 03 00 7d 02 | 00 6e 01 00 01 7c 01 00 |t..i..}.|.n...|..|
|00000880| 64 06 00 6a 08 00 6f 21 | 00 01 74 05 00 74 02 00 |d..j..o!|..t..t..|
|00000890| 64 01 00 83 02 00 6f 0d | 00 01 74 02 00 69 06 00 |d.....o.|..t..i..|
|000008a0| 7d 01 00 71 48 00 01 6e | 01 00 01 64 02 00 7d 06 |}..qH..n|...d..}.|
|000008b0| 00 78 c7 00 7c 00 00 64 | 06 00 6a 09 00 6f b9 00 |.x..|..d|..j..o..|
|000008c0| 01 7c 01 00 64 06 00 6a | 08 00 70 0d 00 01 7c 06 |.|..d..j|..p...|.|
|000008d0| 00 7c 01 00 6a 00 00 6f | 9f 00 01 7c 00 00 69 09 |.|..j..o|...|..i.|
|000008e0| 00 7d 05 00 7c 00 00 69 | 0b 00 7d 07 00 7c 05 00 |.}..|..i|..}..|..|
|000008f0| 69 0d 00 7d 03 00 7c 03 | 00 69 0f 00 7d 09 00 7c |i..}..|.|.i..}..||
|00000900| 03 00 69 11 00 7d 04 00 | 74 13 00 7c 02 00 64 03 |..i..}..|t..|..d.|
|00000910| 00 7c 09 00 7c 07 00 7c | 04 00 66 03 00 16 83 02 |.|..|..||..f.....|
|00000920| 00 01 74 14 00 69 15 00 | 7c 09 00 83 01 00 01 74 |..t..i..||......t|
|00000930| 14 00 69 16 00 7c 09 00 | 7c 07 00 83 02 00 7d 08 |..i..|..||.....}.|
|00000940| 00 7c 08 00 6f 1b 00 01 | 74 13 00 7c 02 00 64 04 |.|..o...|t..|..d.|
|00000950| 00 7c 08 00 69 18 00 83 | 00 00 17 83 02 00 01 6e |.|..i...|.......n|
|00000960| 01 00 01 7c 00 00 69 19 | 00 7d 00 00 7c 06 00 64 |...|..i.|.}..|..d|
|00000970| 05 00 17 7d 06 00 71 51 | 00 01 57 64 06 00 53 28 |...}..qQ|..Wd..S(|
|00000980| 07 00 00 00 73 1f 01 00 | 00 50 72 69 6e 74 20 75 |....s...|.Print u|
|00000990| 70 20 74 6f 20 27 6c 69 | 6d 69 74 27 20 73 74 61 |p to 'li|mit' sta|
|000009a0| 63 6b 20 74 72 61 63 65 | 20 65 6e 74 72 69 65 73 |ck trace| entries|
|000009b0| 20 66 72 6f 6d 20 74 68 | 65 20 74 72 61 63 65 62 | from th|e traceb|
|000009c0| 61 63 6b 20 27 74 62 27 | 2e 0a 0a 20 20 20 20 49 |ack 'tb'|... I|
|000009d0| 66 20 27 6c 69 6d 69 74 | 27 20 69 73 20 6f 6d 69 |f 'limit|' is omi|
|000009e0| 74 74 65 64 20 6f 72 20 | 4e 6f 6e 65 2c 20 61 6c |tted or |None, al|
|000009f0| 6c 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 70 72 |l entrie|s are pr|
|00000a00| 69 6e 74 65 64 2e 20 20 | 49 66 20 27 66 69 6c 65 |inted. |If 'file|
|00000a10| 27 0a 20 20 20 20 69 73 | 20 6f 6d 69 74 74 65 64 |'. is| omitted|
|00000a20| 20 6f 72 20 4e 6f 6e 65 | 2c 20 74 68 65 20 6f 75 | or None|, the ou|
|00000a30| 74 70 75 74 20 67 6f 65 | 73 20 74 6f 20 73 79 73 |tput goe|s to sys|
|00000a40| 2e 73 74 64 65 72 72 3b | 20 6f 74 68 65 72 77 69 |.stderr;| otherwi|
|00000a50| 73 65 0a 20 20 20 20 27 | 66 69 6c 65 27 20 73 68 |se. '|file' sh|
|00000a60| 6f 75 6c 64 20 62 65 20 | 61 6e 20 6f 70 65 6e 20 |ould be |an open |
|00000a70| 66 69 6c 65 20 6f 72 20 | 66 69 6c 65 2d 6c 69 6b |file or |file-lik|
|00000a80| 65 20 6f 62 6a 65 63 74 | 20 77 69 74 68 20 61 20 |e object| with a |
|00000a90| 77 72 69 74 65 28 29 0a | 20 20 20 20 6d 65 74 68 |write().| meth|
|00000aa0| 6f 64 2e 0a 20 20 20 20 | 74 0e 00 00 00 74 72 61 |od.. |t....tra|
|00000ab0| 63 65 62 61 63 6b 6c 69 | 6d 69 74 69 00 00 00 00 |cebackli|miti....|
|00000ac0| 73 1b 00 00 00 20 20 46 | 69 6c 65 20 22 25 73 22 |s.... F|ile "%s"|
|00000ad0| 2c 20 6c 69 6e 65 20 25 | 64 2c 20 69 6e 20 25 73 |, line %|d, in %s|
|00000ae0| 73 04 00 00 00 20 20 20 | 20 69 01 00 00 00 4e 28 |s.... | i....N(|
|00000af0| 1a 00 00 00 52 0f 00 00 | 00 52 15 00 00 00 52 16 |....R...|.R....R.|
|00000b00| 00 00 00 52 17 00 00 00 | 74 05 00 00 00 6c 69 6d |...R....|t....lim|
|00000b10| 69 74 74 07 00 00 00 68 | 61 73 61 74 74 72 52 22 |itt....h|asattrR"|
|00000b20| 00 00 00 74 01 00 00 00 | 6e 74 02 00 00 00 74 62 |...t....|nt....tb|
|00000b30| 74 08 00 00 00 74 62 5f | 66 72 61 6d 65 74 01 00 |t....tb_|framet..|
|00000b40| 00 00 66 52 0d 00 00 00 | 52 1a 00 00 00 74 06 00 |..fR....|R....t..|
|00000b50| 00 00 66 5f 63 6f 64 65 | 74 02 00 00 00 63 6f 74 |..f_code|t....cot|
|00000b60| 0b 00 00 00 63 6f 5f 66 | 69 6c 65 6e 61 6d 65 52 |....co_f|ilenameR|
|00000b70| 19 00 00 00 74 07 00 00 | 00 63 6f 5f 6e 61 6d 65 |....t...|.co_name|
|00000b80| 52 1b 00 00 00 52 14 00 | 00 00 74 09 00 00 00 6c |R....R..|..t....l|
|00000b90| 69 6e 65 63 61 63 68 65 | 74 0a 00 00 00 63 68 65 |inecache|t....che|
|00000ba0| 63 6b 63 61 63 68 65 74 | 07 00 00 00 67 65 74 6c |ckcachet|....getl|
|00000bb0| 69 6e 65 52 1c 00 00 00 | 52 1d 00 00 00 74 07 00 |ineR....|R....t..|
|00000bc0| 00 00 74 62 5f 6e 65 78 | 74 28 0a 00 00 00 52 26 |..tb_nex|t(....R&|
|00000bd0| 00 00 00 52 23 00 00 00 | 52 0f 00 00 00 52 2a 00 |...R#...|R....R*.|
|00000be0| 00 00 52 1b 00 00 00 52 | 28 00 00 00 52 25 00 00 |..R....R|(...R%..|
|00000bf0| 00 52 1a 00 00 00 52 1c | 00 00 00 52 19 00 00 00 |.R....R.|...R....|
|00000c00| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|00000c10| 0c 00 00 00 2e 00 00 00 | 73 2c 00 00 00 00 07 00 |........|s,......|
|00000c20| 01 0d 01 0d 01 0d 01 10 | 01 11 01 06 01 03 00 27 |........|.......'|
|00000c30| 01 09 01 09 01 09 01 09 | 01 09 01 06 01 14 01 0d |........|........|
|00000c40| 01 12 01 07 00 1b 01 09 | 01 63 02 00 00 00 02 00 |........|.c......|
|00000c50| 00 00 04 00 00 00 43 00 | 00 00 73 13 00 00 00 74 |......C.|..s....t|
|00000c60| 00 00 74 01 00 7c 00 00 | 7c 01 00 83 02 00 83 01 |..t..|..||.......|
|00000c70| 00 53 28 02 00 00 00 73 | 36 00 00 00 41 20 73 68 |.S(....s|6...A sh|
|00000c80| 6f 72 74 68 61 6e 64 20 | 66 6f 72 20 27 66 6f 72 |orthand |for 'for|
|00000c90| 6d 61 74 5f 6c 69 73 74 | 28 65 78 74 72 61 63 74 |mat_list|(extract|
|00000ca0| 5f 73 74 61 63 6b 28 66 | 2c 20 6c 69 6d 69 74 29 |_stack(f|, limit)|
|00000cb0| 29 2e 4e 28 04 00 00 00 | 52 04 00 00 00 52 01 00 |).N(....|R....R..|
|00000cc0| 00 00 52 26 00 00 00 52 | 23 00 00 00 28 02 00 00 |..R&...R|#...(...|
|00000cd0| 00 52 26 00 00 00 52 23 | 00 00 00 28 00 00 00 00 |.R&...R#|...(....|
|00000ce0| 28 00 00 00 00 52 13 00 | 00 00 52 06 00 00 00 4a |(....R..|..R....J|
|00000cf0| 00 00 00 73 04 00 00 00 | 00 01 00 01 63 02 00 00 |...s....|....c...|
|00000d00| 00 0a 00 00 00 05 00 00 | 00 43 00 00 00 73 02 01 |........|.C...s..|
|00000d10| 00 00 7c 01 00 64 04 00 | 6a 08 00 6f 21 00 01 74 |..|..d..|j..o!..t|
|00000d20| 02 00 74 03 00 64 01 00 | 83 02 00 6f 0d 00 01 74 |..t..d..|...o...t|
|00000d30| 03 00 69 04 00 7d 01 00 | 71 2e 00 01 6e 01 00 01 |..i..}..|q...n...|
|00000d40| 67 00 00 7d 05 00 64 02 | 00 7d 06 00 78 c1 00 7c |g..}..d.|.}..x..||
|00000d50| 00 00 64 04 00 6a 09 00 | 6f b3 00 01 7c 01 00 64 |..d..j..|o...|..d|
|00000d60| 04 00 6a 08 00 70 0d 00 | 01 7c 06 00 7c 01 00 6a |..j..p..|.|..|..j|
|00000d70| 00 00 6f 99 00 01 7c 00 | 00 69 08 00 7d 04 00 7c |..o...|.|.i..}..||
|00000d80| 00 00 69 0a 00 7d 07 00 | 7c 04 00 69 0c 00 7d 02 |..i..}..||..i..}.|
|00000d90| 00 7c 02 00 69 0e 00 7d | 09 00 7c 02 00 69 10 00 |.|..i..}|..|..i..|
|00000da0| 7d 03 00 74 12 00 69 13 | 00 7c 09 00 83 01 00 01 |}..t..i.|.|......|
|00000db0| 74 12 00 69 14 00 7c 09 | 00 7c 07 00 83 02 00 7d |t..i..|.|.|.....}|
|00000dc0| 08 00 7c 08 00 6f 10 00 | 01 7c 08 00 69 16 00 83 |..|..o..|.|..i...|
|00000dd0| 00 00 7d 08 00 6e 07 00 | 01 64 04 00 7d 08 00 7c |..}..n..|.d..}..||
|00000de0| 05 00 69 17 00 7c 09 00 | 7c 07 00 7c 03 00 7c 08 |..i..|..||..|..|.|
|00000df0| 00 66 04 00 83 01 00 01 | 7c 00 00 69 18 00 7d 00 |.f......||..i..}.|
|00000e00| 00 7c 06 00 64 03 00 17 | 7d 06 00 71 3d 00 01 57 |.|..d...|}..q=..W|
|00000e10| 7c 05 00 53 28 05 00 00 | 00 73 ed 01 00 00 52 65 ||..S(...|.s....Re|
|00000e20| 74 75 72 6e 20 6c 69 73 | 74 20 6f 66 20 75 70 20 |turn lis|t of up |
|00000e30| 74 6f 20 6c 69 6d 69 74 | 20 70 72 65 2d 70 72 6f |to limit| pre-pro|
|00000e40| 63 65 73 73 65 64 20 65 | 6e 74 72 69 65 73 20 66 |cessed e|ntries f|
|00000e50| 72 6f 6d 20 74 72 61 63 | 65 62 61 63 6b 2e 0a 0a |rom trac|eback...|
|00000e60| 20 20 20 20 54 68 69 73 | 20 69 73 20 75 73 65 66 | This| is usef|
|00000e70| 75 6c 20 66 6f 72 20 61 | 6c 74 65 72 6e 61 74 65 |ul for a|lternate|
|00000e80| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 6f 66 20 73 | formatt|ing of s|
|00000e90| 74 61 63 6b 20 74 72 61 | 63 65 73 2e 20 20 49 66 |tack tra|ces. If|
|00000ea0| 0a 20 20 20 20 27 6c 69 | 6d 69 74 27 20 69 73 20 |. 'li|mit' is |
|00000eb0| 6f 6d 69 74 74 65 64 20 | 6f 72 20 4e 6f 6e 65 2c |omitted |or None,|
|00000ec0| 20 61 6c 6c 20 65 6e 74 | 72 69 65 73 20 61 72 65 | all ent|ries are|
|00000ed0| 20 65 78 74 72 61 63 74 | 65 64 2e 20 20 41 0a 20 | extract|ed. A. |
|00000ee0| 20 20 20 70 72 65 2d 70 | 72 6f 63 65 73 73 65 64 | pre-p|rocessed|
|00000ef0| 20 73 74 61 63 6b 20 74 | 72 61 63 65 20 65 6e 74 | stack t|race ent|
|00000f00| 72 79 20 69 73 20 61 20 | 71 75 61 64 72 75 70 6c |ry is a |quadrupl|
|00000f10| 65 20 28 66 69 6c 65 6e | 61 6d 65 2c 20 6c 69 6e |e (filen|ame, lin|
|00000f20| 65 0a 20 20 20 20 6e 75 | 6d 62 65 72 2c 20 66 75 |e. nu|mber, fu|
|00000f30| 6e 63 74 69 6f 6e 20 6e | 61 6d 65 2c 20 74 65 78 |nction n|ame, tex|
|00000f40| 74 29 20 72 65 70 72 65 | 73 65 6e 74 69 6e 67 20 |t) repre|senting |
|00000f50| 74 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |the info|rmation |
|00000f60| 74 68 61 74 20 69 73 0a | 20 20 20 20 75 73 75 61 |that is.| usua|
|00000f70| 6c 6c 79 20 70 72 69 6e | 74 65 64 20 66 6f 72 20 |lly prin|ted for |
|00000f80| 61 20 73 74 61 63 6b 20 | 74 72 61 63 65 2e 20 20 |a stack |trace. |
|00000f90| 54 68 65 20 74 65 78 74 | 20 69 73 20 61 20 73 74 |The text| is a st|
|00000fa0| 72 69 6e 67 20 77 69 74 | 68 0a 20 20 20 20 6c 65 |ring wit|h. le|
|00000fb0| 61 64 69 6e 67 20 61 6e | 64 20 74 72 61 69 6c 69 |ading an|d traili|
|00000fc0| 6e 67 20 77 68 69 74 65 | 73 70 61 63 65 20 73 74 |ng white|space st|
|00000fd0| 72 69 70 70 65 64 3b 20 | 69 66 20 74 68 65 20 73 |ripped; |if the s|
|00000fe0| 6f 75 72 63 65 20 69 73 | 20 6e 6f 74 0a 20 20 20 |ource is| not. |
|00000ff0| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 74 20 69 73 | availab|le it is|
|00001000| 20 4e 6f 6e 65 2e 0a 20 | 20 20 20 52 22 00 00 00 | None.. | R"...|
|00001010| 69 00 00 00 00 69 01 00 | 00 00 4e 28 19 00 00 00 |i....i..|..N(....|
|00001020| 52 23 00 00 00 52 15 00 | 00 00 52 24 00 00 00 52 |R#...R..|..R$...R|
|00001030| 16 00 00 00 52 22 00 00 | 00 52 1f 00 00 00 52 25 |....R"..|.R....R%|
|00001040| 00 00 00 52 26 00 00 00 | 52 27 00 00 00 52 28 00 |...R&...|R'...R(.|
|00001050| 00 00 52 0d 00 00 00 52 | 1a 00 00 00 52 29 00 00 |..R....R|....R)..|
|00001060| 00 52 2a 00 00 00 52 2b | 00 00 00 52 19 00 00 00 |.R*...R+|...R....|
|00001070| 52 2c 00 00 00 52 1b 00 | 00 00 52 2d 00 00 00 52 |R,...R..|..R-...R|
|00001080| 2e 00 00 00 52 2f 00 00 | 00 52 1c 00 00 00 52 1d |....R/..|.R....R.|
|00001090| 00 00 00 52 21 00 00 00 | 52 30 00 00 00 28 0a 00 |...R!...|R0...(..|
|000010a0| 00 00 52 26 00 00 00 52 | 23 00 00 00 52 2a 00 00 |..R&...R|#...R*..|
|000010b0| 00 52 1b 00 00 00 52 28 | 00 00 00 52 1f 00 00 00 |.R....R(|...R....|
|000010c0| 52 25 00 00 00 52 1a 00 | 00 00 52 1c 00 00 00 52 |R%...R..|..R....R|
|000010d0| 19 00 00 00 28 00 00 00 | 00 28 00 00 00 00 52 13 |....(...|.(....R.|
|000010e0| 00 00 00 52 01 00 00 00 | 4e 00 00 00 73 2c 00 00 |...R....|N...s,..|
|000010f0| 00 00 0a 00 01 0d 01 10 | 01 11 01 06 01 06 01 03 |........|........|
|00001100| 00 27 01 09 01 09 01 09 | 01 09 01 09 01 0d 01 12 |.'......|........|
|00001110| 01 07 00 10 01 06 01 19 | 01 09 01 0f 01 63 05 00 |........|.....c..|
|00001120| 00 00 07 00 00 00 05 00 | 00 00 43 00 00 00 73 8e |........|..C...s.|
|00001130| 00 00 00 7c 04 00 64 05 | 00 6a 08 00 6f 0d 00 01 |...|..d.|.j..o...|
|00001140| 74 02 00 69 03 00 7d 04 | 00 6e 01 00 01 7c 02 00 |t..i..}.|.n...|..|
|00001150| 6f 21 00 01 74 05 00 7c | 04 00 64 01 00 83 02 00 |o!..t..||..d.....|
|00001160| 01 74 06 00 7c 02 00 7c | 03 00 7c 04 00 83 03 00 |.t..|..||..|.....|
|00001170| 01 6e 01 00 01 74 08 00 | 7c 00 00 7c 01 00 83 02 |.n...t..||..|....|
|00001180| 00 7d 05 00 78 22 00 7c | 05 00 64 02 00 20 44 5d |.}..x".||..d.. D]|
|00001190| 16 00 7d 06 00 74 05 00 | 7c 04 00 7c 06 00 64 03 |..}..t..||..|..d.|
|000011a0| 00 83 03 00 01 71 5c 00 | 57 74 05 00 7c 04 00 7c |.....q\.|Wt..|..||
|000011b0| 05 00 64 02 00 19 64 04 | 00 83 03 00 01 64 05 00 |..d...d.|.....d..|
|000011c0| 53 28 06 00 00 00 73 f9 | 01 00 00 50 72 69 6e 74 |S(....s.|...Print|
|000011d0| 20 65 78 63 65 70 74 69 | 6f 6e 20 75 70 20 74 6f | excepti|on up to|
|000011e0| 20 27 6c 69 6d 69 74 27 | 20 73 74 61 63 6b 20 74 | 'limit'| stack t|
|000011f0| 72 61 63 65 20 65 6e 74 | 72 69 65 73 20 66 72 6f |race ent|ries fro|
|00001200| 6d 20 27 74 62 27 20 74 | 6f 20 27 66 69 6c 65 27 |m 'tb' t|o 'file'|
|00001210| 2e 0a 0a 20 20 20 20 54 | 68 69 73 20 64 69 66 66 |... T|his diff|
|00001220| 65 72 73 20 66 72 6f 6d | 20 70 72 69 6e 74 5f 74 |ers from| print_t|
|00001230| 62 28 29 20 69 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |b() in t|he follo|
|00001240| 77 69 6e 67 20 77 61 79 | 73 3a 20 28 31 29 20 69 |wing way|s: (1) i|
|00001250| 66 0a 20 20 20 20 74 72 | 61 63 65 62 61 63 6b 20 |f. tr|aceback |
|00001260| 69 73 20 6e 6f 74 20 4e | 6f 6e 65 2c 20 69 74 20 |is not N|one, it |
|00001270| 70 72 69 6e 74 73 20 61 | 20 68 65 61 64 65 72 20 |prints a| header |
|00001280| 22 54 72 61 63 65 62 61 | 63 6b 20 28 6d 6f 73 74 |"Traceba|ck (most|
|00001290| 20 72 65 63 65 6e 74 0a | 20 20 20 20 63 61 6c 6c | recent.| call|
|000012a0| 20 6c 61 73 74 29 3a 22 | 3b 20 28 32 29 20 69 74 | last):"|; (2) it|
|000012b0| 20 70 72 69 6e 74 73 20 | 74 68 65 20 65 78 63 65 | prints |the exce|
|000012c0| 70 74 69 6f 6e 20 74 79 | 70 65 20 61 6e 64 20 76 |ption ty|pe and v|
|000012d0| 61 6c 75 65 20 61 66 74 | 65 72 20 74 68 65 0a 20 |alue aft|er the. |
|000012e0| 20 20 20 73 74 61 63 6b | 20 74 72 61 63 65 3b 20 | stack| trace; |
|000012f0| 28 33 29 20 69 66 20 74 | 79 70 65 20 69 73 20 53 |(3) if t|ype is S|
|00001300| 79 6e 74 61 78 45 72 72 | 6f 72 20 61 6e 64 20 76 |yntaxErr|or and v|
|00001310| 61 6c 75 65 20 68 61 73 | 20 74 68 65 0a 20 20 20 |alue has| the. |
|00001320| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 66 6f 72 | appropr|iate for|
|00001330| 6d 61 74 2c 20 69 74 20 | 70 72 69 6e 74 73 20 74 |mat, it |prints t|
|00001340| 68 65 20 6c 69 6e 65 20 | 77 68 65 72 65 20 74 68 |he line |where th|
|00001350| 65 20 73 79 6e 74 61 78 | 20 65 72 72 6f 72 0a 20 |e syntax| error. |
|00001360| 20 20 20 6f 63 63 75 72 | 72 65 64 20 77 69 74 68 | occur|red with|
|00001370| 20 61 20 63 61 72 65 74 | 20 6f 6e 20 74 68 65 20 | a caret| on the |
|00001380| 6e 65 78 74 20 6c 69 6e | 65 20 69 6e 64 69 63 61 |next lin|e indica|
|00001390| 74 69 6e 67 20 74 68 65 | 20 61 70 70 72 6f 78 69 |ting the| approxi|
|000013a0| 6d 61 74 65 0a 20 20 20 | 20 70 6f 73 69 74 69 6f |mate. | positio|
|000013b0| 6e 20 6f 66 20 74 68 65 | 20 65 72 72 6f 72 2e 0a |n of the| error..|
|000013c0| 20 20 20 20 73 22 00 00 | 00 54 72 61 63 65 62 61 | s"..|.Traceba|
|000013d0| 63 6b 20 28 6d 6f 73 74 | 20 72 65 63 65 6e 74 20 |ck (most| recent |
|000013e0| 63 61 6c 6c 20 6c 61 73 | 74 29 3a 69 ff ff ff ff |call las|t):i....|
|000013f0| 74 01 00 00 00 20 52 0e | 00 00 00 4e 28 0d 00 00 |t.... R.|...N(...|
|00001400| 00 52 0f 00 00 00 52 15 | 00 00 00 52 16 00 00 00 |.R....R.|...R....|
|00001410| 52 17 00 00 00 52 26 00 | 00 00 52 14 00 00 00 52 |R....R&.|..R....R|
|00001420| 0c 00 00 00 52 23 00 00 | 00 52 03 00 00 00 74 05 |....R#..|.R....t.|
|00001430| 00 00 00 65 74 79 70 65 | 74 05 00 00 00 76 61 6c |...etype|t....val|
|00001440| 75 65 74 05 00 00 00 6c | 69 6e 65 73 52 1c 00 00 |uet....l|inesR...|
|00001450| 00 28 07 00 00 00 52 32 | 00 00 00 52 33 00 00 00 |.(....R2|...R3...|
|00001460| 52 26 00 00 00 52 23 00 | 00 00 52 0f 00 00 00 52 |R&...R#.|..R....R|
|00001470| 34 00 00 00 52 1c 00 00 | 00 28 00 00 00 00 28 00 |4...R...|.(....(.|
|00001480| 00 00 00 52 13 00 00 00 | 52 09 00 00 00 6e 00 00 |...R....|R....n..|
|00001490| 00 73 16 00 00 00 00 0a | 00 01 0d 01 0d 01 07 01 |.s......|........|
|000014a0| 0d 01 14 01 0f 01 0b 00 | 06 01 14 01 63 04 00 00 |........|....c...|
|000014b0| 00 05 00 00 00 04 00 00 | 00 43 00 00 00 73 44 00 |........|.C...sD.|
|000014c0| 00 00 7c 02 00 6f 20 00 | 01 64 01 00 67 01 00 7d |..|..o .|.d..g..}|
|000014d0| 04 00 7c 04 00 74 02 00 | 7c 02 00 7c 03 00 83 02 |..|..t..||..|....|
|000014e0| 00 17 7d 04 00 6e 07 00 | 01 67 00 00 7d 04 00 7c |..}..n..|.g..}..||
|000014f0| 04 00 74 04 00 7c 00 00 | 7c 01 00 83 02 00 17 7d |..t..|..||......}|
|00001500| 04 00 7c 04 00 53 28 03 | 00 00 00 73 7a 01 00 00 |..|..S(.|...sz...|
|00001510| 46 6f 72 6d 61 74 20 61 | 20 73 74 61 63 6b 20 74 |Format a| stack t|
|00001520| 72 61 63 65 20 61 6e 64 | 20 74 68 65 20 65 78 63 |race and| the exc|
|00001530| 65 70 74 69 6f 6e 20 69 | 6e 66 6f 72 6d 61 74 69 |eption i|nformati|
|00001540| 6f 6e 2e 0a 0a 20 20 20 | 20 54 68 65 20 61 72 67 |on... | The arg|
|00001550| 75 6d 65 6e 74 73 20 68 | 61 76 65 20 74 68 65 20 |uments h|ave the |
|00001560| 73 61 6d 65 20 6d 65 61 | 6e 69 6e 67 20 61 73 20 |same mea|ning as |
|00001570| 74 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the corr|espondin|
|00001580| 67 20 61 72 67 75 6d 65 | 6e 74 73 0a 20 20 20 20 |g argume|nts. |
|00001590| 74 6f 20 70 72 69 6e 74 | 5f 65 78 63 65 70 74 69 |to print|_excepti|
|000015a0| 6f 6e 28 29 2e 20 20 54 | 68 65 20 72 65 74 75 72 |on(). T|he retur|
|000015b0| 6e 20 76 61 6c 75 65 20 | 69 73 20 61 20 6c 69 73 |n value |is a lis|
|000015c0| 74 20 6f 66 20 73 74 72 | 69 6e 67 73 2c 20 65 61 |t of str|ings, ea|
|000015d0| 63 68 0a 20 20 20 20 65 | 6e 64 69 6e 67 20 69 6e |ch. e|nding in|
|000015e0| 20 61 20 6e 65 77 6c 69 | 6e 65 20 61 6e 64 20 73 | a newli|ne and s|
|000015f0| 6f 6d 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 69 |ome cont|aining i|
|00001600| 6e 74 65 72 6e 61 6c 20 | 6e 65 77 6c 69 6e 65 73 |nternal |newlines|
|00001610| 2e 20 20 57 68 65 6e 0a | 20 20 20 20 74 68 65 73 |. When.| thes|
|00001620| 65 20 6c 69 6e 65 73 20 | 61 72 65 20 63 6f 6e 63 |e lines |are conc|
|00001630| 61 74 65 6e 61 74 65 64 | 20 61 6e 64 20 70 72 69 |atenated| and pri|
|00001640| 6e 74 65 64 2c 20 65 78 | 61 63 74 6c 79 20 74 68 |nted, ex|actly th|
|00001650| 65 20 73 61 6d 65 20 74 | 65 78 74 20 69 73 0a 20 |e same t|ext is. |
|00001660| 20 20 20 70 72 69 6e 74 | 65 64 20 61 73 20 64 6f | print|ed as do|
|00001670| 65 73 20 70 72 69 6e 74 | 5f 65 78 63 65 70 74 69 |es print|_excepti|
|00001680| 6f 6e 28 29 2e 0a 20 20 | 20 20 73 23 00 00 00 54 |on().. | s#...T|
|00001690| 72 61 63 65 62 61 63 6b | 20 28 6d 6f 73 74 20 72 |raceback| (most r|
|000016a0| 65 63 65 6e 74 20 63 61 | 6c 6c 20 6c 61 73 74 29 |ecent ca|ll last)|
|000016b0| 3a 0a 4e 28 07 00 00 00 | 52 26 00 00 00 52 1f 00 |:.N(....|R&...R..|
|000016c0| 00 00 52 06 00 00 00 52 | 23 00 00 00 52 03 00 00 |..R....R|#...R...|
|000016d0| 00 52 32 00 00 00 52 33 | 00 00 00 28 05 00 00 00 |.R2...R3|...(....|
|000016e0| 52 32 00 00 00 52 33 00 | 00 00 52 26 00 00 00 52 |R2...R3.|..R&...R|
|000016f0| 23 00 00 00 52 1f 00 00 | 00 28 00 00 00 00 28 00 |#...R...|.(....(.|
|00001700| 00 00 00 52 13 00 00 00 | 52 02 00 00 00 83 00 00 |...R....|R.......|
|00001710| 00 73 0e 00 00 00 00 08 | 00 01 07 01 09 01 17 02 |.s......|........|
|00001720| 06 01 13 01 63 02 00 00 | 00 0c 00 00 00 04 00 00 |....c...|........|
|00001730| 00 43 00 00 00 73 d8 01 | 00 00 67 00 00 7d 03 00 |.C...s..|..g..}..|
|00001740| 74 01 00 7c 00 00 83 01 | 00 74 03 00 69 04 00 6a |t..|....|.t..i..j|
|00001750| 02 00 6f 0d 00 01 7c 00 | 00 69 05 00 7d 08 00 6e |..o...|.|.i..}..n|
|00001760| 07 00 01 7c 00 00 7d 08 | 00 7c 01 00 64 0c 00 6a |...|..}.|.|..d..j|
|00001770| 08 00 6f 1b 00 01 7c 03 | 00 69 09 00 74 0a 00 7c |..o...|.|.i..t..||
|00001780| 08 00 83 01 00 64 01 00 | 17 83 01 00 01 6e 7e 01 |.....d..|.....n~.|
|00001790| 01 7c 00 00 74 0b 00 6a | 08 00 6f 25 01 01 79 1c |.|..t..j|..o%..y.|
|000017a0| 00 7c 01 00 5c 02 00 7d | 06 00 5c 04 00 7d 05 00 |.|..\..}|..\..}..|
|000017b0| 7d 0b 00 7d 09 00 7d 0a | 00 57 6e 07 00 01 01 01 |}..}..}.|.Wn.....|
|000017c0| 71 89 01 58 7c 05 00 70 | 0a 00 01 64 02 00 7d 05 |q..X|..p|...d..}.|
|000017d0| 00 6e 01 00 01 7c 03 00 | 69 09 00 64 03 00 7c 05 |.n...|..|i..d..|.|
|000017e0| 00 7c 0b 00 66 02 00 16 | 83 01 00 01 7c 0a 00 64 |.|..f...|....|..d|
|000017f0| 0c 00 6a 09 00 6f c6 00 | 01 64 04 00 7d 02 00 78 |..j..o..|.d..}..x|
|00001800| 33 00 7c 02 00 74 12 00 | 7c 0a 00 83 01 00 6a 00 |3.|..t..||.....j.|
|00001810| 00 6f 1f 00 01 7c 0a 00 | 7c 02 00 19 69 13 00 83 |.o...|..||...i...|
|00001820| 00 00 6f 0e 00 01 7c 02 | 00 64 05 00 17 7d 02 00 |..o...|.|.d...}..|
|00001830| 71 c8 00 01 57 7c 03 00 | 69 09 00 64 06 00 7c 0a |q...W|..|i..d..|.|
|00001840| 00 69 14 00 83 00 00 16 | 83 01 00 01 7c 09 00 64 |.i......|....|..d|
|00001850| 0c 00 6a 09 00 6f 5c 00 | 01 64 07 00 7d 07 00 78 |..j..o\.|.d..}..x|
|00001860| 3e 00 7c 0a 00 7c 02 00 | 7c 09 00 64 05 00 18 21 |>.|..|..||..d...!|
|00001870| 44 5d 2b 00 7d 04 00 7c | 04 00 69 13 00 83 00 00 |D]+.}..||..i.....|
|00001880| 6f 0e 00 01 7c 07 00 7c | 04 00 17 7d 07 00 71 37 |o...|..||...}..q7|
|00001890| 01 01 7c 07 00 64 08 00 | 17 7d 07 00 71 37 01 57 |..|..d..|.}..q7.W|
|000018a0| 7c 03 00 69 09 00 64 09 | 00 7c 07 00 16 83 01 00 ||..i..d.|.|......|
|000018b0| 01 6e 01 00 01 7c 06 00 | 7d 01 00 71 89 01 01 6e |.n...|..|}..q...n|
|000018c0| 01 00 01 74 17 00 7c 01 | 00 83 01 00 7d 07 00 7c |...t..|.|....}..||
|000018d0| 07 00 6f 21 00 01 7c 03 | 00 69 09 00 64 0a 00 74 |..o!..|.|.i..d..t|
|000018e0| 0a 00 7c 08 00 83 01 00 | 7c 07 00 66 02 00 16 83 |..|.....||..f....|
|000018f0| 01 00 01 6e 18 00 01 7c | 03 00 69 09 00 64 0b 00 |...n...||..i..d..|
|00001900| 74 0a 00 7c 08 00 83 01 | 00 16 83 01 00 01 7c 03 |t..|....|......|.|
|00001910| 00 53 28 0d 00 00 00 73 | 0b 02 00 00 46 6f 72 6d |.S(....s|....Form|
|00001920| 61 74 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |at the e|xception|
|00001930| 20 70 61 72 74 20 6f 66 | 20 61 20 74 72 61 63 65 | part of| a trace|
|00001940| 62 61 63 6b 2e 0a 0a 20 | 20 20 20 54 68 65 20 61 |back... | The a|
|00001950| 72 67 75 6d 65 6e 74 73 | 20 61 72 65 20 74 68 65 |rguments| are the|
|00001960| 20 65 78 63 65 70 74 69 | 6f 6e 20 74 79 70 65 20 | excepti|on type |
|00001970| 61 6e 64 20 76 61 6c 75 | 65 20 73 75 63 68 20 61 |and valu|e such a|
|00001980| 73 20 67 69 76 65 6e 20 | 62 79 0a 20 20 20 20 73 |s given |by. s|
|00001990| 79 73 2e 6c 61 73 74 5f | 74 79 70 65 20 61 6e 64 |ys.last_|type and|
|000019a0| 20 73 79 73 2e 6c 61 73 | 74 5f 76 61 6c 75 65 2e | sys.las|t_value.|
|000019b0| 20 54 68 65 20 72 65 74 | 75 72 6e 20 76 61 6c 75 | The ret|urn valu|
|000019c0| 65 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 0a 20 |e is a l|ist of. |
|000019d0| 20 20 20 73 74 72 69 6e | 67 73 2c 20 65 61 63 68 | strin|gs, each|
|000019e0| 20 65 6e 64 69 6e 67 20 | 69 6e 20 61 20 6e 65 77 | ending |in a new|
|000019f0| 6c 69 6e 65 2e 20 20 4e | 6f 72 6d 61 6c 6c 79 2c |line. N|ormally,|
|00001a00| 20 74 68 65 20 6c 69 73 | 74 20 63 6f 6e 74 61 69 | the lis|t contai|
|00001a10| 6e 73 20 61 0a 20 20 20 | 20 73 69 6e 67 6c 65 20 |ns a. | single |
|00001a20| 73 74 72 69 6e 67 3b 20 | 68 6f 77 65 76 65 72 2c |string; |however,|
|00001a30| 20 66 6f 72 20 53 79 6e | 74 61 78 45 72 72 6f 72 | for Syn|taxError|
|00001a40| 20 65 78 63 65 70 74 69 | 6f 6e 73 2c 20 69 74 20 | excepti|ons, it |
|00001a50| 63 6f 6e 74 61 69 6e 73 | 0a 20 20 20 20 73 65 76 |contains|. sev|
|00001a60| 65 72 61 6c 20 6c 69 6e | 65 73 20 74 68 61 74 20 |eral lin|es that |
|00001a70| 28 77 68 65 6e 20 70 72 | 69 6e 74 65 64 29 20 64 |(when pr|inted) d|
|00001a80| 69 73 70 6c 61 79 20 64 | 65 74 61 69 6c 65 64 20 |isplay d|etailed |
|00001a90| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0a 20 20 20 20 |informat|ion. |
|00001aa0| 61 62 6f 75 74 20 77 68 | 65 72 65 20 74 68 65 20 |about wh|ere the |
|00001ab0| 73 79 6e 74 61 78 20 65 | 72 72 6f 72 20 6f 63 63 |syntax e|rror occ|
|00001ac0| 75 72 72 65 64 2e 20 20 | 54 68 65 20 6d 65 73 73 |urred. |The mess|
|00001ad0| 61 67 65 20 69 6e 64 69 | 63 61 74 69 6e 67 0a 20 |age indi|cating. |
|00001ae0| 20 20 20 77 68 69 63 68 | 20 65 78 63 65 70 74 69 | which| excepti|
|00001af0| 6f 6e 20 6f 63 63 75 72 | 72 65 64 20 69 73 20 74 |on occur|red is t|
|00001b00| 68 65 20 61 6c 77 61 79 | 73 20 6c 61 73 74 20 73 |he alway|s last s|
|00001b10| 74 72 69 6e 67 20 69 6e | 20 74 68 65 20 6c 69 73 |tring in| the lis|
|00001b20| 74 2e 0a 20 20 20 20 73 | 01 00 00 00 0a 73 08 00 |t.. s|.....s..|
|00001b30| 00 00 3c 73 74 72 69 6e | 67 3e 73 15 00 00 00 20 |..<strin|g>s.... |
|00001b40| 20 46 69 6c 65 20 22 25 | 73 22 2c 20 6c 69 6e 65 | File "%|s", line|
|00001b50| 20 25 64 0a 69 00 00 00 | 00 69 01 00 00 00 73 07 | %d.i...|.i....s.|
|00001b60| 00 00 00 20 20 20 20 25 | 73 0a 73 04 00 00 00 20 |... %|s.s.... |
|00001b70| 20 20 20 52 31 00 00 00 | 73 04 00 00 00 25 73 5e | R1...|s....%s^|
|00001b80| 0a 73 07 00 00 00 25 73 | 3a 20 25 73 0a 73 03 00 |.s....%s|: %s.s..|
|00001b90| 00 00 25 73 0a 4e 28 18 | 00 00 00 52 1f 00 00 00 |..%s.N(.|...R....|
|00001ba0| 74 04 00 00 00 74 79 70 | 65 52 32 00 00 00 74 05 |t....typ|eR2...t.|
|00001bb0| 00 00 00 74 79 70 65 73 | 74 09 00 00 00 43 6c 61 |...types|t....Cla|
|00001bc0| 73 73 54 79 70 65 74 08 | 00 00 00 5f 5f 6e 61 6d |ssTypet.|...__nam|
|00001bd0| 65 5f 5f 74 05 00 00 00 | 73 74 79 70 65 52 33 00 |e__t....|stypeR3.|
|00001be0| 00 00 52 15 00 00 00 52 | 21 00 00 00 52 11 00 00 |..R....R|!...R...|
|00001bf0| 00 74 0b 00 00 00 53 79 | 6e 74 61 78 45 72 72 6f |.t....Sy|ntaxErro|
|00001c00| 72 74 03 00 00 00 6d 73 | 67 52 19 00 00 00 52 1a |rt....ms|gR....R.|
|00001c10| 00 00 00 74 06 00 00 00 | 6f 66 66 73 65 74 52 1c |...t....|offsetR.|
|00001c20| 00 00 00 74 01 00 00 00 | 69 74 03 00 00 00 6c 65 |...t....|it....le|
|00001c30| 6e 74 07 00 00 00 69 73 | 73 70 61 63 65 52 1d 00 |nt....is|spaceR..|
|00001c40| 00 00 74 01 00 00 00 73 | 74 01 00 00 00 63 74 09 |..t....s|t....ct.|
|00001c50| 00 00 00 5f 73 6f 6d 65 | 5f 73 74 72 28 0c 00 00 |..._some|_str(...|
|00001c60| 00 52 32 00 00 00 52 33 | 00 00 00 52 3d 00 00 00 |.R2...R3|...R=...|
|00001c70| 52 1f 00 00 00 52 41 00 | 00 00 52 19 00 00 00 52 |R....RA.|..R....R|
|00001c80| 3b 00 00 00 52 40 00 00 | 00 52 39 00 00 00 52 3c |;...R@..|.R9...R<|
|00001c90| 00 00 00 52 1c 00 00 00 | 52 1a 00 00 00 28 00 00 |...R....|R....(..|
|00001ca0| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 03 00 00 |..(....R|....R...|
|00001cb0| 00 94 00 00 00 73 46 00 | 00 00 00 0a 00 01 06 01 |.....sF.|........|
|00001cc0| 16 01 0d 02 06 01 0d 01 | 1b 02 0d 01 03 01 1c 01 |........|........|
|00001cd0| 03 01 04 02 07 00 0a 01 | 17 02 0d 01 06 01 03 00 |........|........|
|00001ce0| 24 01 0f 01 17 01 0d 01 | 06 01 12 00 06 01 0d 01 |$.......|........|
|00001cf0| 0e 02 0e 01 15 01 0e 01 | 0c 01 07 01 21 02 17 01 |........|....!...|
|00001d00| 63 01 00 00 00 01 00 00 | 00 03 00 00 00 43 00 00 |c.......|.....C..|
|00001d10| 00 73 2d 00 00 00 79 0e | 00 74 00 00 7c 00 00 83 |.s-...y.|.t..|...|
|00001d20| 01 00 53 57 6e 18 00 01 | 01 01 64 01 00 74 02 00 |..SWn...|..d..t..|
|00001d30| 7c 00 00 83 01 00 69 03 | 00 16 53 6e 01 00 58 64 ||.....i.|..Sn..Xd|
|00001d40| 00 00 53 28 02 00 00 00 | 4e 73 17 00 00 00 3c 75 |..S(....|Ns....<u|
|00001d50| 6e 70 72 69 6e 74 61 62 | 6c 65 20 25 73 20 6f 62 |nprintab|le %s ob|
|00001d60| 6a 65 63 74 3e 28 04 00 | 00 00 52 11 00 00 00 52 |ject>(..|..R....R|
|00001d70| 33 00 00 00 52 35 00 00 | 00 52 38 00 00 00 28 01 |3...R5..|.R8...(.|
|00001d80| 00 00 00 52 33 00 00 00 | 28 00 00 00 00 28 00 00 |...R3...|(....(..|
|00001d90| 00 00 52 13 00 00 00 52 | 42 00 00 00 c5 00 00 00 |..R....R|B.......|
|00001da0| 73 08 00 00 00 00 01 03 | 01 0e 01 03 01 63 02 00 |s.......|.....c..|
|00001db0| 00 00 05 00 00 00 06 00 | 00 00 43 00 00 00 73 5f |........|..C...s_|
|00001dc0| 00 00 00 7c 01 00 64 01 | 00 6a 08 00 6f 0d 00 01 |...|..d.|.j..o...|
|00001dd0| 74 02 00 69 03 00 7d 01 | 00 6e 01 00 01 7a 2f 00 |t..i..}.|.n...z/.|
|00001de0| 74 02 00 69 04 00 83 00 | 00 5c 03 00 7d 03 00 7d |t..i....|.\..}..}|
|00001df0| 02 00 7d 04 00 74 08 00 | 7c 03 00 7c 02 00 7c 04 |..}..t..||..|..|.|
|00001e00| 00 7c 00 00 7c 01 00 83 | 05 00 01 57 64 01 00 64 |.|..|...|...Wd..d|
|00001e10| 01 00 04 7d 03 00 04 7d | 02 00 7d 04 00 58 64 01 |...}...}|..}..Xd.|
|00001e20| 00 53 28 02 00 00 00 73 | be 00 00 00 53 68 6f 72 |.S(....s|....Shor|
|00001e30| 74 68 61 6e 64 20 66 6f | 72 20 27 70 72 69 6e 74 |thand fo|r 'print|
|00001e40| 5f 65 78 63 65 70 74 69 | 6f 6e 28 73 79 73 2e 65 |_excepti|on(sys.e|
|00001e50| 78 63 5f 74 79 70 65 2c | 20 73 79 73 2e 65 78 63 |xc_type,| sys.exc|
|00001e60| 5f 76 61 6c 75 65 2c 20 | 73 79 73 2e 65 78 63 5f |_value, |sys.exc_|
|00001e70| 74 72 61 63 65 62 61 63 | 6b 2c 20 6c 69 6d 69 74 |tracebac|k, limit|
|00001e80| 2c 20 66 69 6c 65 29 27 | 2e 0a 20 20 20 20 28 49 |, file)'|.. (I|
|00001e90| 6e 20 66 61 63 74 2c 20 | 69 74 20 75 73 65 73 20 |n fact, |it uses |
|00001ea0| 73 79 73 2e 65 78 63 5f | 69 6e 66 6f 28 29 20 74 |sys.exc_|info() t|
|00001eb0| 6f 20 72 65 74 72 69 65 | 76 65 20 74 68 65 20 73 |o retrie|ve the s|
|00001ec0| 61 6d 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0a |ame info|rmation.|
|00001ed0| 20 20 20 20 69 6e 20 61 | 20 74 68 72 65 61 64 2d | in a| thread-|
|00001ee0| 73 61 66 65 20 77 61 79 | 2e 29 4e 28 0a 00 00 00 |safe way|.)N(....|
|00001ef0| 52 0f 00 00 00 52 15 00 | 00 00 52 16 00 00 00 52 |R....R..|..R....R|
|00001f00| 17 00 00 00 74 08 00 00 | 00 65 78 63 5f 69 6e 66 |....t...|.exc_inf|
|00001f10| 6f 52 32 00 00 00 52 33 | 00 00 00 52 26 00 00 00 |oR2...R3|...R&...|
|00001f20| 52 09 00 00 00 52 23 00 | 00 00 28 05 00 00 00 52 |R....R#.|..(....R|
|00001f30| 23 00 00 00 52 0f 00 00 | 00 52 33 00 00 00 52 32 |#...R...|.R3...R2|
|00001f40| 00 00 00 52 26 00 00 00 | 28 00 00 00 00 28 00 00 |...R&...|(....(..|
|00001f50| 00 00 52 13 00 00 00 52 | 07 00 00 00 cc 00 00 00 |..R....R|........|
|00001f60| 73 10 00 00 00 00 03 00 | 01 0d 01 0d 01 03 01 15 |s.......|........|
|00001f70| 01 1a 01 00 01 63 01 00 | 00 00 04 00 00 00 06 00 |.....c..|........|
|00001f80| 00 00 43 00 00 00 73 4b | 00 00 00 7a 35 00 74 00 |..C...sK|...z5.t.|
|00001f90| 00 69 01 00 83 00 00 5c | 03 00 7d 02 00 7d 01 00 |.i.....\|..}..}..|
|00001fa0| 7d 03 00 64 01 00 69 05 | 00 74 06 00 7c 02 00 7c |}..d..i.|.t..|..||
|00001fb0| 01 00 7c 03 00 7c 00 00 | 83 04 00 83 01 00 53 57 |..|..|..|......SW|
|00001fc0| 64 02 00 64 02 00 04 7d | 02 00 04 7d 01 00 7d 03 |d..d...}|...}..}.|
|00001fd0| 00 58 64 02 00 53 28 03 | 00 00 00 73 25 00 00 00 |.Xd..S(.|...s%...|
|00001fe0| 4c 69 6b 65 20 70 72 69 | 6e 74 5f 65 78 63 28 29 |Like pri|nt_exc()|
|00001ff0| 20 62 75 74 20 72 65 74 | 75 72 6e 20 61 20 73 74 | but ret|urn a st|
|00002000| 72 69 6e 67 2e 52 0e 00 | 00 00 4e 28 09 00 00 00 |ring.R..|..N(....|
|00002010| 52 16 00 00 00 52 43 00 | 00 00 52 32 00 00 00 52 |R....RC.|..R2...R|
|00002020| 33 00 00 00 52 26 00 00 | 00 74 04 00 00 00 6a 6f |3...R&..|.t....jo|
|00002030| 69 6e 52 02 00 00 00 52 | 23 00 00 00 52 15 00 00 |inR....R|#...R...|
|00002040| 00 28 04 00 00 00 52 23 | 00 00 00 52 33 00 00 00 |.(....R#|...R3...|
|00002050| 52 32 00 00 00 52 26 00 | 00 00 28 00 00 00 00 28 |R2...R&.|..(....(|
|00002060| 00 00 00 00 52 13 00 00 | 00 52 08 00 00 00 d9 00 |....R...|.R......|
|00002070| 00 00 73 0c 00 00 00 00 | 01 00 01 03 01 15 01 20 |..s.....|....... |
|00002080| 01 00 01 63 02 00 00 00 | 02 00 00 00 06 00 00 00 |...c....|........|
|00002090| 43 00 00 00 73 3d 00 00 | 00 7c 01 00 64 01 00 6a |C...s=..|.|..d..j|
|000020a0| 08 00 6f 0d 00 01 74 02 | 00 69 03 00 7d 01 00 6e |..o...t.|.i..}..n|
|000020b0| 01 00 01 74 04 00 74 02 | 00 69 05 00 74 02 00 69 |...t..t.|.i..t..i|
|000020c0| 06 00 74 02 00 69 07 00 | 7c 00 00 7c 01 00 83 05 |..t..i..||..|....|
|000020d0| 00 01 64 01 00 53 28 02 | 00 00 00 73 6e 00 00 00 |..d..S(.|...sn...|
|000020e0| 54 68 69 73 20 69 73 20 | 61 20 73 68 6f 72 74 68 |This is |a shorth|
|000020f0| 61 6e 64 20 66 6f 72 20 | 27 70 72 69 6e 74 5f 65 |and for |'print_e|
|00002100| 78 63 65 70 74 69 6f 6e | 28 73 79 73 2e 6c 61 73 |xception|(sys.las|
|00002110| 74 5f 74 79 70 65 2c 0a | 20 20 20 20 73 79 73 2e |t_type,.| sys.|
|00002120| 6c 61 73 74 5f 76 61 6c | 75 65 2c 20 73 79 73 2e |last_val|ue, sys.|
|00002130| 6c 61 73 74 5f 74 72 61 | 63 65 62 61 63 6b 2c 20 |last_tra|ceback, |
|00002140| 6c 69 6d 69 74 2c 20 66 | 69 6c 65 29 27 2e 4e 28 |limit, f|ile)'.N(|
|00002150| 09 00 00 00 52 0f 00 00 | 00 52 15 00 00 00 52 16 |....R...|.R....R.|
|00002160| 00 00 00 52 17 00 00 00 | 52 09 00 00 00 74 09 00 |...R....|R....t..|
|00002170| 00 00 6c 61 73 74 5f 74 | 79 70 65 74 0a 00 00 00 |..last_t|ypet....|
|00002180| 6c 61 73 74 5f 76 61 6c | 75 65 74 0e 00 00 00 6c |last_val|uet....l|
|00002190| 61 73 74 5f 74 72 61 63 | 65 62 61 63 6b 52 23 00 |ast_trac|ebackR#.|
|000021a0| 00 00 28 02 00 00 00 52 | 23 00 00 00 52 0f 00 00 |..(....R|#...R...|
|000021b0| 00 28 00 00 00 00 28 00 | 00 00 00 52 13 00 00 00 |.(....(.|...R....|
|000021c0| 52 0a 00 00 00 e2 00 00 | 00 73 0a 00 00 00 00 02 |R.......|.s......|
|000021d0| 00 01 0d 01 0d 01 15 01 | 63 03 00 00 00 03 00 00 |........|c.......|
|000021e0| 00 05 00 00 00 43 00 00 | 00 73 61 00 00 00 7c 00 |.....C..|.sa...|.|
|000021f0| 00 64 02 00 6a 08 00 6f | 3a 00 01 79 0a 00 74 02 |.d..j..o|:..y..t.|
|00002200| 00 82 01 00 57 71 47 00 | 04 74 02 00 6a 0a 00 6f |....WqG.|.t..j..o|
|00002210| 1d 00 01 01 01 01 74 03 | 00 69 04 00 83 00 00 64 |......t.|.i.....d|
|00002220| 01 00 19 69 05 00 69 06 | 00 7d 00 00 71 47 00 01 |...i..i.|.}..qG..|
|00002230| 58 6e 01 00 01 74 07 00 | 74 08 00 7c 00 00 7c 01 |Xn...t..|t..|..|.|
|00002240| 00 83 02 00 7c 02 00 83 | 02 00 01 64 02 00 53 28 |....|...|...d..S(|
|00002250| 03 00 00 00 73 f7 00 00 | 00 50 72 69 6e 74 20 61 |....s...|.Print a|
|00002260| 20 73 74 61 63 6b 20 74 | 72 61 63 65 20 66 72 6f | stack t|race fro|
|00002270| 6d 20 69 74 73 20 69 6e | 76 6f 63 61 74 69 6f 6e |m its in|vocation|
|00002280| 20 70 6f 69 6e 74 2e 0a | 0a 20 20 20 20 54 68 65 | point..|. The|
|00002290| 20 6f 70 74 69 6f 6e 61 | 6c 20 27 66 27 20 61 72 | optiona|l 'f' ar|
|000022a0| 67 75 6d 65 6e 74 20 63 | 61 6e 20 62 65 20 75 73 |gument c|an be us|
|000022b0| 65 64 20 74 6f 20 73 70 | 65 63 69 66 79 20 61 6e |ed to sp|ecify an|
|000022c0| 20 61 6c 74 65 72 6e 61 | 74 65 0a 20 20 20 20 73 | alterna|te. s|
|000022d0| 74 61 63 6b 20 66 72 61 | 6d 65 20 61 74 20 77 68 |tack fra|me at wh|
|000022e0| 69 63 68 20 74 6f 20 73 | 74 61 72 74 2e 20 54 68 |ich to s|tart. Th|
|000022f0| 65 20 6f 70 74 69 6f 6e | 61 6c 20 27 6c 69 6d 69 |e option|al 'limi|
|00002300| 74 27 20 61 6e 64 20 27 | 66 69 6c 65 27 0a 20 20 |t' and '|file'. |
|00002310| 20 20 61 72 67 75 6d 65 | 6e 74 73 20 68 61 76 65 | argume|nts have|
|00002320| 20 74 68 65 20 73 61 6d | 65 20 6d 65 61 6e 69 6e | the sam|e meanin|
|00002330| 67 20 61 73 20 66 6f 72 | 20 70 72 69 6e 74 5f 65 |g as for| print_e|
|00002340| 78 63 65 70 74 69 6f 6e | 28 29 2e 0a 20 20 20 20 |xception|().. |
|00002350| 69 02 00 00 00 4e 28 0b | 00 00 00 52 28 00 00 00 |i....N(.|...R(...|
|00002360| 52 15 00 00 00 74 11 00 | 00 00 5a 65 72 6f 44 69 |R....t..|..ZeroDi|
|00002370| 76 69 73 69 6f 6e 45 72 | 72 6f 72 52 16 00 00 00 |visionEr|rorR....|
|00002380| 52 43 00 00 00 52 27 00 | 00 00 74 06 00 00 00 66 |RC...R'.|..t....f|
|00002390| 5f 62 61 63 6b 52 1e 00 | 00 00 52 00 00 00 00 52 |_backR..|..R....R|
|000023a0| 23 00 00 00 52 0f 00 00 | 00 28 03 00 00 00 52 28 |#...R...|.(....R(|
|000023b0| 00 00 00 52 23 00 00 00 | 52 0f 00 00 00 28 00 00 |...R#...|R....(..|
|000023c0| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 0b 00 00 |..(....R|....R...|
|000023d0| 00 eb 00 00 00 73 0e 00 | 00 00 00 06 00 01 0d 01 |.....s..|........|
|000023e0| 03 01 0a 01 0e 01 1f 01 | 63 02 00 00 00 02 00 00 |........|c.......|
|000023f0| 00 05 00 00 00 43 00 00 | 00 73 5a 00 00 00 7c 00 |.....C..|.sZ...|.|
|00002400| 00 64 02 00 6a 08 00 6f | 3a 00 01 79 0a 00 74 02 |.d..j..o|:..y..t.|
|00002410| 00 82 01 00 57 71 47 00 | 04 74 02 00 6a 0a 00 6f |....WqG.|.t..j..o|
|00002420| 1d 00 01 01 01 01 74 03 | 00 69 04 00 83 00 00 64 |......t.|.i.....d|
|00002430| 01 00 19 69 05 00 69 06 | 00 7d 00 00 71 47 00 01 |...i..i.|.}..qG..|
|00002440| 58 6e 01 00 01 74 07 00 | 74 08 00 7c 00 00 7c 01 |Xn...t..|t..|..|.|
|00002450| 00 83 02 00 83 01 00 53 | 28 03 00 00 00 73 35 00 |.......S|(....s5.|
|00002460| 00 00 53 68 6f 72 74 68 | 61 6e 64 20 66 6f 72 20 |..Shorth|and for |
|00002470| 27 66 6f 72 6d 61 74 5f | 6c 69 73 74 28 65 78 74 |'format_|list(ext|
|00002480| 72 61 63 74 5f 73 74 61 | 63 6b 28 66 2c 20 6c 69 |ract_sta|ck(f, li|
|00002490| 6d 69 74 29 29 27 2e 69 | 02 00 00 00 4e 28 0a 00 |mit))'.i|....N(..|
|000024a0| 00 00 52 28 00 00 00 52 | 15 00 00 00 52 48 00 00 |..R(...R|....RH..|
|000024b0| 00 52 16 00 00 00 52 43 | 00 00 00 52 27 00 00 00 |.R....RC|...R'...|
|000024c0| 52 49 00 00 00 52 04 00 | 00 00 52 00 00 00 00 52 |RI...R..|..R....R|
|000024d0| 23 00 00 00 28 02 00 00 | 00 52 28 00 00 00 52 23 |#...(...|.R(...R#|
|000024e0| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 13 00 |...(....|(....R..|
|000024f0| 00 00 52 05 00 00 00 f9 | 00 00 00 73 0e 00 00 00 |..R.....|...s....|
|00002500| 00 01 00 01 0d 01 03 01 | 0a 01 0e 01 1f 01 63 02 |........|......c.|
|00002510| 00 00 00 09 00 00 00 05 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00002520| 4a 01 00 00 7c 00 00 64 | 05 00 6a 08 00 6f 3a 00 |J...|..d|..j..o:.|
|00002530| 01 79 0a 00 74 02 00 82 | 01 00 57 71 47 00 04 74 |.y..t...|..WqG..t|
|00002540| 02 00 6a 0a 00 6f 1d 00 | 01 01 01 01 74 03 00 69 |..j..o..|....t..i|
|00002550| 04 00 83 00 00 64 01 00 | 19 69 05 00 69 06 00 7d |.....d..|.i..i..}|
|00002560| 00 00 71 47 00 01 58 6e | 01 00 01 7c 01 00 64 05 |..qG..Xn|...|..d.|
|00002570| 00 6a 08 00 6f 21 00 01 | 74 08 00 74 03 00 64 02 |.j..o!..|t..t..d.|
|00002580| 00 83 02 00 6f 0d 00 01 | 74 03 00 69 09 00 7d 01 |....o...|t..i..}.|
|00002590| 00 71 75 00 01 6e 01 00 | 01 67 00 00 7d 04 00 64 |.qu..n..|.g..}..d|
|000025a0| 03 00 7d 05 00 78 b8 00 | 7c 00 00 64 05 00 6a 09 |..}..x..||..d..j.|
|000025b0| 00 6f aa 00 01 7c 01 00 | 64 05 00 6a 08 00 70 0d |.o...|..|d..j..p.|
|000025c0| 00 01 7c 05 00 7c 01 00 | 6a 00 00 6f 90 00 01 7c |..|..|..|j..o...||
|000025d0| 00 00 69 0c 00 7d 06 00 | 7c 00 00 69 0e 00 7d 02 |..i..}..||..i..}.|
|000025e0| 00 7c 02 00 69 10 00 7d | 08 00 7c 02 00 69 12 00 |.|..i..}|..|..i..|
|000025f0| 7d 03 00 74 14 00 69 15 | 00 7c 08 00 83 01 00 01 |}..t..i.|.|......|
|00002600| 74 14 00 69 16 00 7c 08 | 00 7c 06 00 83 02 00 7d |t..i..|.|.|.....}|
|00002610| 07 00 7c 07 00 6f 10 00 | 01 7c 07 00 69 18 00 83 |..|..o..|.|..i...|
|00002620| 00 00 7d 07 00 6e 07 00 | 01 64 05 00 7d 07 00 7c |..}..n..|.d..}..||
|00002630| 04 00 69 19 00 7c 08 00 | 7c 06 00 7c 03 00 7c 07 |..i..|..||..|..|.|
|00002640| 00 66 04 00 83 01 00 01 | 7c 00 00 69 06 00 7d 00 |.f......||..i..}.|
|00002650| 00 7c 05 00 64 04 00 17 | 7d 05 00 71 84 00 01 57 |.|..d...|}..q...W|
|00002660| 7c 04 00 69 1a 00 83 00 | 00 01 7c 04 00 53 28 06 ||..i....|..|..S(.|
|00002670| 00 00 00 73 73 01 00 00 | 45 78 74 72 61 63 74 20 |...ss...|Extract |
|00002680| 74 68 65 20 72 61 77 20 | 74 72 61 63 65 62 61 63 |the raw |tracebac|
|00002690| 6b 20 66 72 6f 6d 20 74 | 68 65 20 63 75 72 72 65 |k from t|he curre|
|000026a0| 6e 74 20 73 74 61 63 6b | 20 66 72 61 6d 65 2e 0a |nt stack| frame..|
|000026b0| 0a 20 20 20 20 54 68 65 | 20 72 65 74 75 72 6e 20 |. The| return |
|000026c0| 76 61 6c 75 65 20 68 61 | 73 20 74 68 65 20 73 61 |value ha|s the sa|
|000026d0| 6d 65 20 66 6f 72 6d 61 | 74 20 61 73 20 66 6f 72 |me forma|t as for|
|000026e0| 20 65 78 74 72 61 63 74 | 5f 74 62 28 29 2e 20 20 | extract|_tb(). |
|000026f0| 54 68 65 0a 20 20 20 20 | 6f 70 74 69 6f 6e 61 6c |The. |optional|
|00002700| 20 27 66 27 20 61 6e 64 | 20 27 6c 69 6d 69 74 27 | 'f' and| 'limit'|
|00002710| 20 61 72 67 75 6d 65 6e | 74 73 20 68 61 76 65 20 | argumen|ts have |
|00002720| 74 68 65 20 73 61 6d 65 | 20 6d 65 61 6e 69 6e 67 |the same| meaning|
|00002730| 20 61 73 20 66 6f 72 0a | 20 20 20 20 70 72 69 6e | as for.| prin|
|00002740| 74 5f 73 74 61 63 6b 28 | 29 2e 20 20 45 61 63 68 |t_stack(|). Each|
|00002750| 20 69 74 65 6d 20 69 6e | 20 74 68 65 20 6c 69 73 | item in| the lis|
|00002760| 74 20 69 73 20 61 20 71 | 75 61 64 72 75 70 6c 65 |t is a q|uadruple|
|00002770| 20 28 66 69 6c 65 6e 61 | 6d 65 2c 0a 20 20 20 20 | (filena|me,. |
|00002780| 6c 69 6e 65 20 6e 75 6d | 62 65 72 2c 20 66 75 6e |line num|ber, fun|
|00002790| 63 74 69 6f 6e 20 6e 61 | 6d 65 2c 20 74 65 78 74 |ction na|me, text|
|000027a0| 29 2c 20 61 6e 64 20 74 | 68 65 20 65 6e 74 72 69 |), and t|he entri|
|000027b0| 65 73 20 61 72 65 20 69 | 6e 20 6f 72 64 65 72 0a |es are i|n order.|
|000027c0| 20 20 20 20 66 72 6f 6d | 20 6f 6c 64 65 73 74 20 | from| oldest |
|000027d0| 74 6f 20 6e 65 77 65 73 | 74 20 73 74 61 63 6b 20 |to newes|t stack |
|000027e0| 66 72 61 6d 65 2e 0a 20 | 20 20 20 69 02 00 00 00 |frame.. | i....|
|000027f0| 52 22 00 00 00 69 00 00 | 00 00 69 01 00 00 00 4e |R"...i..|..i....N|
|00002800| 28 1b 00 00 00 52 28 00 | 00 00 52 15 00 00 00 52 |(....R(.|..R....R|
|00002810| 48 00 00 00 52 16 00 00 | 00 52 43 00 00 00 52 27 |H...R...|.RC...R'|
|00002820| 00 00 00 52 49 00 00 00 | 52 23 00 00 00 52 24 00 |...RI...|R#...R$.|
|00002830| 00 00 52 22 00 00 00 52 | 1f 00 00 00 52 25 00 00 |..R"...R|....R%..|
|00002840| 00 74 08 00 00 00 66 5f | 6c 69 6e 65 6e 6f 52 1a |.t....f_|linenoR.|
|00002850| 00 00 00 52 29 00 00 00 | 52 2a 00 00 00 52 2b 00 |...R)...|R*...R+.|
|00002860| 00 00 52 19 00 00 00 52 | 2c 00 00 00 52 1b 00 00 |..R....R|,...R...|
|00002870| 00 52 2d 00 00 00 52 2e | 00 00 00 52 2f 00 00 00 |.R-...R.|...R/...|
|00002880| 52 1c 00 00 00 52 1d 00 | 00 00 52 21 00 00 00 74 |R....R..|..R!...t|
|00002890| 07 00 00 00 72 65 76 65 | 72 73 65 28 09 00 00 00 |....reve|rse(....|
|000028a0| 52 28 00 00 00 52 23 00 | 00 00 52 2a 00 00 00 52 |R(...R#.|..R*...R|
|000028b0| 1b 00 00 00 52 1f 00 00 | 00 52 25 00 00 00 52 1a |....R...|.R%...R.|
|000028c0| 00 00 00 52 1c 00 00 00 | 52 19 00 00 00 28 00 00 |...R....|R....(..|
|000028d0| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 00 00 00 |..(....R|....R...|
|000028e0| 00 02 01 00 00 73 36 00 | 00 00 00 08 00 01 0d 01 |.....s6.|........|
|000028f0| 03 01 0a 01 0e 01 1f 01 | 0d 01 10 01 11 01 06 01 |........|........|
|00002900| 06 01 03 00 27 01 09 01 | 09 01 09 01 09 01 0d 01 |....'...|........|
|00002910| 12 01 07 00 10 01 06 01 | 19 01 09 01 0f 01 0a 01 |........|........|
|00002920| 63 01 00 00 00 01 00 00 | 00 01 00 00 00 43 00 00 |c.......|.....C..|
|00002930| 00 73 07 00 00 00 7c 00 | 00 69 01 00 53 28 02 00 |.s....|.|.i..S(..|
|00002940| 00 00 73 52 00 00 00 43 | 61 6c 63 75 6c 61 74 65 |..sR...C|alculate|
|00002950| 20 63 6f 72 72 65 63 74 | 20 6c 69 6e 65 20 6e 75 | correct| line nu|
|00002960| 6d 62 65 72 20 6f 66 20 | 74 72 61 63 65 62 61 63 |mber of |tracebac|
|00002970| 6b 20 67 69 76 65 6e 20 | 69 6e 20 74 62 2e 0a 0a |k given |in tb...|
|00002980| 20 20 20 20 4f 62 73 6f | 6c 65 74 65 20 69 6e 20 | Obso|lete in |
|00002990| 32 2e 33 2e 0a 20 20 20 | 20 4e 28 02 00 00 00 52 |2.3.. | N(....R|
|000029a0| 26 00 00 00 52 0d 00 00 | 00 28 01 00 00 00 52 26 |&...R...|.(....R&|
|000029b0| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 13 00 |...(....|(....R..|
|000029c0| 00 00 52 0d 00 00 00 24 | 01 00 00 73 04 00 00 00 |..R....$|...s....|
|000029d0| 00 04 00 01 28 17 00 00 | 00 74 07 00 00 00 5f 5f |....(...|.t....__|
|000029e0| 64 6f 63 5f 5f 52 2d 00 | 00 00 52 16 00 00 00 52 |doc__R-.|..R....R|
|000029f0| 36 00 00 00 74 07 00 00 | 00 5f 5f 61 6c 6c 5f 5f |6...t...|.__all__|
|00002a00| 52 14 00 00 00 52 15 00 | 00 00 52 1e 00 00 00 52 |R....R..|..R....R|
|00002a10| 04 00 00 00 52 0c 00 00 | 00 52 06 00 00 00 52 01 |....R...|.R....R.|
|00002a20| 00 00 00 52 09 00 00 00 | 52 02 00 00 00 52 03 00 |...R....|R....R..|
|00002a30| 00 00 52 42 00 00 00 52 | 07 00 00 00 52 08 00 00 |..RB...R|....R...|
|00002a40| 00 52 0a 00 00 00 52 0b | 00 00 00 52 05 00 00 00 |.R....R.|...R....|
|00002a50| 52 00 00 00 00 52 0d 00 | 00 00 28 15 00 00 00 52 |R....R..|..(....R|
|00002a60| 0b 00 00 00 52 09 00 00 | 00 52 0a 00 00 00 52 14 |....R...|.R....R.|
|00002a70| 00 00 00 52 1e 00 00 00 | 52 0d 00 00 00 52 4d 00 |...R....|R....RM.|
|00002a80| 00 00 52 05 00 00 00 52 | 03 00 00 00 52 01 00 00 |..R....R|....R...|
|00002a90| 00 52 00 00 00 00 52 06 | 00 00 00 52 0c 00 00 00 |.R....R.|...R....|
|00002aa0| 52 16 00 00 00 52 36 00 | 00 00 52 02 00 00 00 52 |R....R6.|..R....R|
|00002ab0| 08 00 00 00 52 07 00 00 | 00 52 42 00 00 00 52 04 |....R...|.RB...R.|
|00002ac0| 00 00 00 52 2d 00 00 00 | 28 00 00 00 00 28 00 00 |...R-...|(....(..|
|00002ad0| 00 00 52 13 00 00 00 74 | 01 00 00 00 3f 01 00 00 |..R....t|....?...|
|00002ae0| 00 73 2a 00 00 00 06 02 | 09 01 09 01 09 02 30 05 |.s*.....|......0.|
|00002af0| 0f 04 0c 0b 09 13 0f 1c | 0c 04 0c 20 0f 15 0c 11 |........|... ....|
|00002b00| 09 31 09 07 0f 0d 0c 09 | 0f 09 12 0e 0f 09 0f 22 |.1......|......."|
+--------+-------------------------+-------------------------+--------+--------+